package com.anpy.bill.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 日历事件VO
 */
@Data
@ApiModel(description = "日历事件信息")
public class DateLineVO {

    @ApiModelProperty(value = "事件ID", example = "1")
    private Long id;

    @ApiModelProperty(value = "事件标题", example = "家庭聚餐")
    private String title;

    @ApiModelProperty(value = "事件类型ID", example = "1")
    private Long eventTypeId;

    @ApiModelProperty(value = "事件类型名称", example = "家庭聚会")
    private String eventTypeName;

    @ApiModelProperty(value = "事件地点", example = "家里")
    private String location;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "事件时间", example = "2025-02-27 18:00:00")
    private Date eventTime;

    @ApiModelProperty(value = "事件描述", example = "全家人一起吃饭")
    private String description;

    @ApiModelProperty(value = "图片URL列表")
    private List<String> photoUrls;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间", example = "2025-02-27 15:00:00")
    private Date createdAt;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间", example = "2025-02-27 15:00:00")
    private Date updatedAt;
}